package com.cyj.mapper.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @description:
 * @Author C_Y_J
 * @create 2021-03-12 15:55
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "tabple_emp")
public class Employee {

    /**
     * emp_id
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer empId;

    /**
     * emp_name
     */
    private String empName;

    /**
     * emp_salary_apple
     */
    @Column(name = "emp_salary_apple")
    private Double empSalary;

    /**
     * emp_age
     */
    private Integer empAge;
}
